//************************************************ 
//  *Author：jxx
//  *QQ：283591387
//  *代码由框架生成,任何更改都可能导致被代码生成器覆盖
//  *业务请在Student.js中编写
//************************************************ 
export default function() {
	return {
		editFormFields: {"name":"","age":"","lever_class":"","enterdatetime":"","add_all":"","z_fujian":""},
		editFormOptions: [{"title":"总分","field":"add_all","type":"text"},
                               {"title":"姓名","field":"name","type":"text"},
                               {"title":"年龄","required":true,"field":"age","type":"text"},
                               {"title":"班级","field":"lever_class","type":"text"},
                               {"title":"入学时间","field":"enterdatetime","type":"date"},
                               {"type":"group"},
                               {"title":"总附件","field":"z_fujian","type":"img"}],
		searchFormFields: {"name":"","age":"","lever_class":"","enterdatetime":"","add_all":""},
		searchFormOptions: [{"title":"姓名","field":"name","type":"like"},{"title":"年龄","field":"age","type":"text"},{"title":"班级","field":"lever_class","type":"like"},{"title":"入学时间","field":"enterdatetime","type":"text"},{"title":"总分","field":"add_all","type":"text"}],
		columns: [{field:'no',title:'学生编号',type:'string ',link:true},
                       {field:'name',title:'姓名',type:'string '},
                       {field:'age',title:'年龄',type:'int'},
                       {field:'lever_class',title:'班级',type:'string '},
                       {field:'enterdatetime',title:'入学时间',type:'datetime'},
                       {field:'add_all',title:'总分',type:'int'},
                       {field:'z_fujian',title:'总附件',type:'img'}],
		table: {
			key: 'stud_id',
			footer: "Foots",
			cnName: '学生基本信息',
			name: 'Student',
			url: "/Student/",
			sortName: "stud_id"
		}
	}
}
